.class Lcn/cheln/explorer/actions/OperationUtil$PerformOperationClickListener;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# instance fields
.field private synthetic a:Lcn/cheln/explorer/actions/OperationUtil;


# direct methods
.method public constructor <init>(Lcn/cheln/explorer/actions/OperationUtil;Lcn/cheln/explorer/actions/OperationUtil;)V
    .locals 0

    iput-object p1, p0, Lcn/cheln/explorer/actions/OperationUtil$PerformOperationClickListener;->a:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 1

    invoke-interface {p1}, Landroid/content/DialogInterface;->cancel()V

    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    sget-object v0, Lcn/cheln/explorer/actions/OperationUtil;->d:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    sget-object v0, Lcn/cheln/explorer/actions/OperationUtil;->d:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcn/cheln/explorer/actions/OperationUtil$PerformOperationClickListener;->a:Lcn/cheln/explorer/actions/OperationUtil;

    iget-object v0, v0, Lcn/cheln/explorer/actions/OperationUtil;->i:Ljava/lang/Thread;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcn/cheln/explorer/actions/OperationUtil$PerformOperationClickListener;->a:Lcn/cheln/explorer/actions/OperationUtil;

    iget-object v0, v0, Lcn/cheln/explorer/actions/OperationUtil;->i:Ljava/lang/Thread;

    invoke-virtual {v0}, Ljava/lang/Thread;->isAlive()Z

    move-result v0

    if-nez v0, :cond_0

    :cond_2
    iget-object v0, p0, Lcn/cheln/explorer/actions/OperationUtil$PerformOperationClickListener;->a:Lcn/cheln/explorer/actions/OperationUtil;

    iget-object v0, v0, Lcn/cheln/explorer/actions/OperationUtil;->i:Ljava/lang/Thread;

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    sget-object v0, Lcn/cheln/explorer/actions/OperationUtil;->d:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V

    goto :goto_0
.end method
